From f5800d3905a2de44cb22fecf52a48121f2d55bec Mon Sep 17 00:00:00 2001 From: "cl349@freefall.cl.cam.ac.uk" Date: Mon, 2 Aug 2004 10:40:13 +0000 Subject: [PATCH] bitkeeper revision 1.1108.48.2 (410e1a0de6FrG4dlru7jRaIj2HuwBw) make sure the domain's time info in shared_info is uptodate on timer interrupts --- xen/common/schedule.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/common/schedule.c b/xen/common/schedule.c index cc195b31bd..7dd2cbd0f0 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -444,8 +444,10 @@ static void t_timer_fn(unsigned long unused) TRACE_0D(TRC_SCHED_T_TIMER_FN); - if ( !is_idle_task(p) ) + if ( !is_idle_task(p) ) { + update_dom_time(p->shared_info); send_guest_virq(p, VIRQ_TIMER); + } t_timer[p->processor].expires = NOW() + MILLISECS(10); add_ac_timer(&t_timer[p->processor]); @@ -456,6 +458,7 @@ static void dom_timer_fn(unsigned long data) { struct domain *p = (struct domain *)data; TRACE_0D(TRC_SCHED_DOM_TIMER_FN); + update_dom_time(p->shared_info); send_guest_virq(p, VIRQ_TIMER); } -- 2.30.2